//
//  LBUserGuideView.h
//  FBSnapshotTestCase
//
//  Created by LINAICAI on 2017/10/31.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, LBUserGuideImagePosition) {
    LBUserGuideImageInTop,
    LBUserGuideImageInBottom
};
@interface LBUserGuideView : UIControl

@property(nonatomic , strong)UIImage *image;
@property(nonatomic , assign)LBUserGuideImagePosition imagePositon;
@property(nonatomic , strong)UIView *maskView;
@property(nonatomic , assign)CGFloat maskViewMargin;
@property(nonatomic , assign)CGFloat maskViewCorner;
@property(nonatomic , copy)void(^afterTap)(void);

@property(nonatomic , strong)UIImageView *imageView;

- (instancetype)initWithCoder:(NSCoder *)coder UNAVAILABLE_ATTRIBUTE;
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;
- (instancetype)initWithImage:(UIImage *)image
                 imagePositon:(LBUserGuideImagePosition)imagePositon
                     maskView:(UIView *)maskView
               maskViewMargin:(CGFloat)maskViewMargin
               maskViewCorner:(CGFloat)maskViewCorner
                     afterTap:(void(^)(void))afterTap NS_DESIGNATED_INITIALIZER;
- (void)showInView:(UIView *)view;
- (void)hid;
@end
